﻿<%@ Page Title="" Language="C#" MasterPageFile="~/paginaMaestra.Master" AutoEventWireup="true" CodeBehind="elegirPersonaje.aspx.cs" Inherits="WebProyectoSIETE.elegirPersonaje" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 style="margin: auto; font-family: Arial, Helvetica, sans-serif; text-align: left;"> 
        Elige tu personaje:</h2>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:cadenaConexion %>" 
        SelectCommand="SELECT * FROM [Personaje]"></asp:SqlDataSource>
    <br />
    <br />
    <div style="padding-left:15px;">
        <asp:DropDownList ID="DropDownList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="tipoPersonaje" 
            DataValueField="idPersonaje" 
            onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
            AutoPostBack="True">
        </asp:DropDownList>
    </div>
    <br />
            <div class="objetoTaberna">
                <div>
                    <div class="tipoObjetoTaberna">
                        Datos del <asp:Label ID="lbNombrePersonaje" runat="server" Text=""></asp:Label>:
                    </div>
                    <asp:Image ID="imgAtaque" runat="server" ImageUrl="~/img/sword-icon1.gif" />
                    Ataque inicial:
                    <asp:Label ID="lbAtaque" runat="server" Text=""></asp:Label>
                    <br/>
                    <asp:Image ID="imgVida" runat="server" ImageUrl="~/img/icon_heart.gif" />
                    Vida inicial:
                    <asp:Label ID="lbVida" runat="server" Text=""></asp:Label>
                    <br/>
                    <asp:Image ID="imgDefensa" runat="server" ImageUrl="~/img/shield-icon.png" />
                    Defensa inicial:
                    <asp:Label ID="lbDefensa" runat="server" Text=""></asp:Label>
                    
                        <hr/>
                    
                    <div class="comprarObjetoTaberna">
                        <asp:Button ID="Button1" runat="server" Text="Aceptar" />                    
                    </div>
                </div>
            </div>
</asp:Content>
